package com.globallogic.training.vaskulg.binarytree;

public class MyBinaryTreeExample {

	public static void main(String[] args) {
		BinaryTree<Integer> myTree = new BinaryTree<Integer>(10);
		
		myTree.addValue(7);	
		myTree.addValue(12);
		
		myTree.addValue(14);
		myTree.addValue(13);
		myTree.addValue(16);
		
		myTree.addValue(8);	
		
		System.out.println(myTree.toString());
		
		System.out.printf("Height of the tree => %d", myTree.getHeight());
	}

}
